package com.sz.biz.rpt.service;

import com.sz.biz.rpt.entity.RptSaleSummary;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * Function: //TODO ADD FUNCTION. <br>
 * Date: 2017年12月05日 11:41 <br>
 * Author: wentao.chang
 */
public interface RptSaleSummaryService {

    int save(RptSaleSummary rss);


    int update(RptSaleSummary rss);


    int delete(int id);

    RptSaleSummary findById(int id);

    void deleteByDate(Date dateBegin);

    RptSaleSummary findByParam(Map<String, Object> params);

    List<RptSaleSummary> findWeekByParam(Map<String, Object> params);
}
